

namespace Orid.Management.SOHO.Book.Control.MPK_Calendar
{
    using System;
    using System.Collections.Generic;

	/// <summary>
	/// Event argument class.
	/// </summary>
	public class SelectedDateChangedEventArgs:EventArgs
	{
		private readonly DateTime pSelectedDate;

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="dateSelected">Date</param>
		public SelectedDateChangedEventArgs(DateTime dateSelected)
		{
			pSelectedDate = dateSelected;
		}

		/// <summary>
		/// The selected date.
		/// </summary>
		public DateTime SelectedDate
		{
			get
			{
				return pSelectedDate;
			}
		}

	}

    /// <summary>
    /// Selected Appointment Date Change EventArgs
    /// </summary>
    public class SelectedAppointmentDateChangeEventArgs : EventArgs
    {
        private readonly List<clsAppt>  Appts;


        /// <summary>
        /// Initializes a new instance of the <see cref="SelectedAppointmentDateChangeEventArgs"/> class.
        /// </summary>
        /// <param name="appts">The appts.</param>
        public SelectedAppointmentDateChangeEventArgs(List<clsAppt> appts)
        {
            Appts = appts;
        }


        /// <summary>
        /// Gets the appt dates.
        /// </summary>
        /// <value>The appt dates.</value>
        public List<clsAppt> ApptDates
        {
            get
            {
                return Appts;
            }
        }

    }
}
